package com.ztx.service.caiwu;

import com.ztx.model.QkInfo;
import com.ztx.model.QkInfoSum;
import com.ztx.model.QkInfoTemp;
import com.ztx.pagemodel.SessionInfo;
import com.ztx.pagemodel.easyui.DataGrid;
import com.ztx.pagemodel.easyui.PageHelper;

public interface IQkService {

	public static final String BEAN_ID = "qkService";

	/**
	 * 查询欠款列表
	 * 
	 * @param ph
	 * @param params
	 * @return
	 */
	public DataGrid<QkInfoSum> getqkList(PageHelper ph, QkInfo params);

	/**
	 * 直接审核通过
	 * 
	 * @param id
	 * @throws Exception
	 */
	public void doAuditPass(long id, SessionInfo session) throws Exception;

	/**
	 * 修改金额后审核通过
	 * 
	 * @param info
	 * @param session
	 * @throws Exception
	 */
	public void editAndPass(QkInfoTemp info, SessionInfo session)
			throws Exception;

	/**
	 * 将report_all表中数据进行分类,导入到t_qk_info (欠款信息表)
	 * 
	 * @throws Exception
	 */
	public void doSynData() throws Exception;

	/**
	 * 财务录入结算数据
	 * 
	 * @param qkinfo
	 * @param session
	 */
	public void settle(QkInfoSum qkinfo, SessionInfo session) throws Exception;
}
